package com.happok.onlineclass.usermanagement.setting.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName(value = "email")
public class EmailPO {
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 邮箱服务器
     */
    private String server;
    /**
     * 邮箱账号
     */
    private String account;
    /**
     * 邮箱密码
     */
    private String password;
    /**
     * 邮箱授权码
     */
    private String authorizationCode;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}